<!-- This HTML file has been created by texi2html 1.52
from ../vice.texi on 23 January 2005 -->
<TITLE>VICE Manual - 4 System files</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="vice_1.html">first</A>, <A HREF="vice_3.html">previous</A>, <A HREF="vice_5.html">next</A>, <A HREF="vice_16.html">last</A> section, <A HREF="vice_toc.html">table of contents</A>.
<P><HR><P>
<H1><A NAME="SEC23" HREF="vice_toc.html#TOC23">4 System files</A></H1>
<P>
In order to work properly, the emulators need to load a few system
files:
</P>
<UL>
<LI>
the <EM>system ROMs</EM>, raw binary files containing copies of the original ROMs
of the machine you are emulating;
<LI>
the <EM>keyboard maps</EM>, text files describing the keyboard layout;
<LI>
the <EM>palette files</EM>, text files describing the colors of the machine you
are emulating.
<LI>
the <EM>romset files</EM>, text files describing the different ROMs to load.
</UL>
<P>
The place where they will be searched for depends on the value of the
<CODE>Directory</CODE> resource, which is a colon (<CODE>:</CODE>)-separated search
path list, like the UNIX <CODE>PATH</CODE> environment variable. The
default value is
</P>
<PRE>
PREFIX/lib/vice/EMU:$HOME/.vice/EMU:BOOTPATH/EMU
</PRE>
<P>
Where <CODE>PREFIX</CODE> is the installation prefix (usually
<TT>`/usr/local'</TT>), <CODE>EMU</CODE> is the name of the emulated machine
(<CODE>C64</CODE>, <CODE>C128</CODE>, <CODE>PET</CODE>, <CODE>CBM-II</CODE> or <CODE>VIC20</CODE>) and
<CODE>BOOTPATH</CODE> is the directory where the executable resides.
The disk drive ROMs are looked for in a directory with <CODE>EMU</CODE> set to
<CODE>DRIVES</CODE>. <CODE>$HOME</CODE> is the user's home directory.
</P>
<P>
For example, if you have the C64 emulator installed in
The Romset files are not used by default on all emulators.
You might have recognized that the names of the ROM images are
saved in resources. Loading a Romset file now just means a `shortcut'
to changing all the resources with ROM image names and reloading
the ROMs.
</P>
<P>
The PET and CBM-II emulators use this feature to change between the
different ROM versions available for those machines. E.g. the
Romset file for the PET 2001 is
</P>
<PRE>
KernalName="pet2001"
EditorName=
ChargenName="chargen"
RomModule9Name=
RomModuleAName=
RomModuleBName=
</PRE>
<P>
As you can see, the file even uses the same syntax as the
resource file, it is just a bit stripped down.
</P>
<P><HR><P>
Go to the <A HREF="vice_1.html">first</A>, <A HREF="vice_3.html">previous</A>, <A HREF="vice_5.html">next</A>, <A HREF="vice_16.html">last</A> section, <A HREF="vice_toc.html">table of contents</A>.